package com.atguigu.gulimall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.ware.entity.WareSkuEntity;

import java.util.Map;

/**
 * 商品库存
 *
 * @author chen
 * @email 2277411582@qq.com
 * @date 2022-09-21 15:10:45
 */
public interface WareSkuService extends IService<WareSkuEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 方法说明：
     *
     * @MethodName 采购完成将采购的商品入库
     * @Description    
     * @Author chenCheng
     * @EMAIL <2277411582@qq.com>
     * @Date 2022/9/29 19:02
     * @修改人及日期：
     * @修改说明：
     */
    void addStock(Long skuId, Long wareId, Integer skuNum);
}

